package org.example.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.entity.Interviewschedule;

import java.util.List;

@Mapper
public interface InterviewscheduleMapper extends BaseMapper<Interviewschedule> {
    List<Interviewschedule> queryStatusPendingqueryStatusPending(@Param("status") String status,
                                                                 @Param("CandidateName") String CandidateName,
                                                                 @Param("IntendedPosition") String IntendedPosition);

    List<Interviewschedule> selectInterviewDetailById(@Param("interviewNumber") Integer interviewNumber);

    List<Interviewschedule> selectInterviewScheduleWithInterviewerAndEmployee(@Param("interviewNumber") String interviewNumber,
                                                                              @Param("interviewerId") String interviewerId);

}